package com.shuwen.gcdj.bean.basicsEquitment.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel
public class FolderAddReq {

//    @ApiModelProperty(value = "路径",required = true)
//    private String path;

    @ApiModelProperty(value = "文件名称",required = true)
    @NotBlank(message = "文件名称不能为空")
    @Length( max = 50)
    private String name;

    @ApiModelProperty(value = "父级id")
    private String id;

}
